package com.es.www.kyl.bean.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Estranger
 * @date 2025/7/30
 * description
 */
@Data
public class LoginReq implements Serializable {
	private static final long serialVersionUID = 8267631048688607207L;

	@ApiModelProperty(value = "手机号", required = true)
	@NotNull(message = "手机号不能为空")
	private String phone;

	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "验证码", required = true)
	@NotNull(message = "验证码不能为空")
	private String verifyCode;
}
